package com.egg.basic.model.response;

import com.egg.common.core.model.response.BaseResponse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author east
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "定时任务分页")
public class QuartzPage extends BaseResponse {

    @ApiModelProperty(value = "定时ID")
    private Long id;

    @ApiModelProperty(value = "定时器名称")
    private String jobName;

    @ApiModelProperty(value = "Bean名称")
    private String beanName;

    @ApiModelProperty(value = "方法名称")
    private String methodName;

    @ApiModelProperty(value = "参数")
    private String params;

    @ApiModelProperty(value = "cron表达式")
    private String cronExpression;

    @ApiModelProperty(value = "暂停, true-暂停,false-非暂停")
    private Boolean pause;

    @ApiModelProperty(value = "失败后禁用, 0-禁用,1-启用")
    private Boolean pauseAfterFailure;

    @ApiModelProperty(value = "负责人用户ID")
    private Long chargeUserId;

    @ApiModelProperty(value = "负责人用户真实姓名")
    private String chargeUserRealName;
}
